<?php
    class battle_items{
        public $id;
        public $battle_id;
        public $title;
        public $file_name;
        public $fb_theme;
        public $yt_link;
        public $votes;
        public $last_votes;
        public function battle_items($_id,$_battle_id,$_title,$_file_name,$_fb_theme,$_yt_link,$_votes,$_last_votes)
        {
            $this->id = $_id;
            $this->battle_id = $_battle_id;
            $this->title = $_title;
            $this->file_name = $_file_name;
            $this->fb_theme = $_fb_theme;
            $this->yt_link = $_yt_link;
            $this->votes = $_votes;
            $this->last_votes = $_last_votes;
        }
    }
?>